package pro.shushi.pamirs.demo.api.enumeration;

import pro.shushi.pamirs.meta.annotation.Dict;
import pro.shushi.pamirs.meta.common.enmu.IEnum;

@Dict(dictionary = ItemStockStatusEnum.DICTIONARY, displayName = "商品库存状态", summary = "商品库存状态")
public enum ItemStockStatusEnum implements IEnum<Integer> {
    DRAFT(1, "草稿", "草稿"),
    ACTIVE(2, "有效", "有效"),
    INACTIVE(3, "无效", "无效"),
    ;

    public static final String DICTIONARY = "demo.ItemStockStatusEnum";

    private final Integer value;
    private final String displayName;
    private final String help;

    ItemStockStatusEnum(Integer value, String displayName, String help) {
        this.value = value;
        this.displayName = displayName;
        this.help = help;
    }

    public Integer getValue() {
        return value;
    }

    public String getDisplayName() {
        return displayName;
    }

    public String getHelp() {
        return help;
    }
}
